home *** CD-ROM | disk | FTP | other *** search
- Program Params;
-
- { by Paul Klarreich, Brooklyn, NY }
-
- { Find the parameter string. In any MS-DOS program file, it is
- found at offset $80 in the program segment prefix -- the first
- $100 bytes of the program segment. The byte at $80 gives the
- length of the string and the next <length> bytes are the actual
- characters. }
-
- { NOTE: This program is meaningless unless compiled to a COM-file. }
-
- Var CmdStr: String[80] Absolute CSeg:$0080;
-
- Begin
- Writeln('The command tail for this program is:');
- Writeln('-->',CmdStr,'<--');
- End.